[HVM] Add stubs to Linux for the new hvm_op hypercall.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 14 Aug 2006 10:33:50 +0000 (11:33 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 14 Aug 2006 10:33:50 +0000 (11:33 +0100)
Signed-off-by: Steven Smith <ssmith@xensource.com>
linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h
linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h

index 7de10137f1e6bb973d67f9c3d856da7079b45684..b0324c14a7dc1cf452f680b3d8e1de334c6c3c29 100644 (file)
@@ -354,6 +354,13 @@ HYPERVISOR_nmi_op(
        return _hypercall2(int, nmi_op, op, arg);
 }
 
+static inline unsigned long
+HYPERVISOR_hvm_op(
+    int op, void *arg)
+{
+    return _hypercall2(unsigned long, hvm_op, op, arg);
+}
+
 static inline int
 HYPERVISOR_callback_op(
        int cmd, void *arg)
index 1bcc7901eaaccc7562ee166d3ae5459eff45efc1..753ccb224d348aec73ae9ea9b9e97d8a3e40ab40 100644 (file)
@@ -355,6 +355,13 @@ HYPERVISOR_nmi_op(
        return _hypercall2(int, nmi_op, op, arg);
 }
 
+static inline unsigned long
+HYPERVISOR_hvm_op(
+    int op, void *arg)
+{
+    return _hypercall2(unsigned long, hvm_op, op, arg);
+}
+
 static inline int
 HYPERVISOR_callback_op(
        int cmd, void *arg)